package org.example.redpacket.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import org.example.redpacket.model.ObjDTO;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 用户领取红包明细 DTO
 *
 * @author: hero生仔
 */
@Data
@Builder
@AllArgsConstructor
@ToString
public class UserRedPacketDetailDTO extends ObjDTO {
    @NotBlank(message = "用户id不能为空")
    private String userId;

    /**
     * 红包id 集合
     */
    private List<String> redPacketList;
}
